package com.dstz.demo.core.dao;

import com.dstz.demo.core.model.Clclb;
import com.dstz.demo.core.model.FindSupplier;
import com.dstz.demo.core.model.Findings;
import com.dstz.demo.core.model.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface MaterialsUploadDao {

    //添加数据
    void insertList(Map<String, String> map);

    void update(String id);

    void fail(Map<String, String> map);

    List<Clclb> findByid(String id);

    List<Service> findBylist(String id);

    Map<String,String> scdcfpryb(String id);

    void insertOne(Map<String, String> map);

    Map<String,String> getID(HashMap<String, String> map);

    void addfindings(Findings findings);

    void addfindSupplier(FindSupplier findSupplier);

    Map<String, String> getServiceID(HashMap<String, String> map);

    void addfindingsService(Findings findings);

    void updateStauts(String id);

    List<FindSupplier> materialsDetails(String id);

    List<FindSupplier> serviceDetails(String id);

    Findings selectBydcnrid(Map<String, String> map);

    Findings selectBydcccid(Map<String, String> map);

    List<FindSupplier> materialsDetails1(HashMap<String, String> map);

    List<FindSupplier> serviceDetails1(Map<String ,String > map);

    List<FindSupplier> findDcnrID(String id1);
}
